package com.ruoyi.project.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dyun.tool.mybatis.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 系统租户表(SysTenant) sys_tenant
 *
 * @author dyun
 */
@ApiModel(description = "系统租户表")
@TableName("sys_tenant")
@Data
@EqualsAndHashCode(callSuper = true)
public class SysTenant extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID")
    private Long tenantId;

    /**
     * 租户名称
     */
    @ApiModelProperty(value = "租户名称")
    private String tenantName;

    /**
     * 域名地址
     */
    @ApiModelProperty(value = "域名地址")
    private String domain;

    /**
     * 背景图片
     */
    @ApiModelProperty(value = "背景图片")
    private String backgroundUrl;

    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人")
    private String contactUser;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话")
    private String contactPhone;

    /**
     * 创建账号限制
     */
    @ApiModelProperty(value = "创建账号限制")
    private Integer acountNumber;

    /**
     * 授权过期时间
     */
    @ApiModelProperty(value = "授权过期时间")
    private Date expireTime;

}